package com.kly.user.rulePolicy;

import com.kly.user.db.entity.TRuleHistoryLogEntity;
import com.kly.user.rulePolicy.enums.DecisionResultEnum;
import com.kly.user.rulePolicy.enums.PolicyComposeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author linqu
 */
public class PolicySet implements Serializable {

    private static final long serialVersionUID = -8625530071655426527L;
    /**
     * 策略集ID
     */
    private Long policySetId;
    /**
     * 策略集ID
     */
    private String policySetName;
    /**
     * 策略集
     */
    private List<Policy> policyList;
    /**
     * 策略集结果
     */
    private Integer policySetResult;

    /**
     * 策略组合方式
     */
    private String policyCompose;

    private TRuleHistoryLogEntity result;

    public TRuleHistoryLogEntity getResult() {
        return result;
    }

    public void setResult(TRuleHistoryLogEntity result) {
        this.result = result;
    }

    public PolicySet() {
    }

    public Long getPolicySetId() {
        return policySetId;
    }

    public void setPolicySetId(Long policySetId) {
        this.policySetId = policySetId;
    }

    public String getPolicySetName() {
        return policySetName;
    }

    public void setPolicySetName(String policySetName) {
        this.policySetName = policySetName;
    }

    public List<Policy> getPolicyList() {
        return policyList;
    }

    public void setPolicyList(List<Policy> policyList) {
        this.policyList = policyList;
    }

    public Integer getPolicySetResult() {
        return policySetResult;
    }

    public void setPolicySetResult(Integer policySetResult) {
        this.policySetResult = policySetResult;
    }

    public String getPolicyCompose() {
        return policyCompose;
    }

    public void setPolicyCompose(String policyCompose) {
        this.policyCompose = policyCompose;
    }
}
